package com.guigu.youxuan.mapper;


import com.guigu.youxuan.pojo.SysUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface SysUsersMapper extends BaseMapper<SysUsers> {
    /**
     *
     * @param sysUsers
     * @return
     */
    List<SysUsers> querySysAll(SysUsers sysUsers);

    /**
     *查询昵称和用户名是否重复
     * @param username
     * @return
     */
    String selUserCount(String username);
}
